required validator python WTForms

34

required validator python WTForms -

from wtforms.validators import InputRequired
youtube_href = URLField(validators=[InputRequired()])

Comments

Submit
0 Comments